# $Id: PKGBUILD 78888 2012-10-26 13:01:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=pawm
pkgver=2.3.0
pkgrel=2
pkgdesc="Puto Amo Window Manager is a full featured window manager, but without useless bells and whistles"
arch=('i686' 'x86_64')
#url="http://www.pleyades.net/pawm/"
url="https://sites.google.com/site/pleyadestest/david/projects/pawm"
license=("GPL")
depends=('libxft' 'libxpm' 'libxrandr')
makedepends=('cmake')
source=(http://www.pleyades.net/pawm/files/pawm-$pkgver.tar.gz)
md5sums=('cc004865f5b5d8118e68154857b913a2')

build() {
  cd $srcdir/$pkgname-$pkgver
  export LDFLAGS="-lXrender -lXext -lX11"
  cmake -DCMAKE_INSTALL_PREFIX=/usr
  make
  make install DESTDIR=$pkgdir
}
